﻿using System;
using StudentWeb.Common;

namespace StudentWeb.Model
{
	/// <summary>
	/// Admins
	/// </summary>
    [Serializable]
	public class AdminsData
	{
		/// <summary>
		/// AdminID
        /// </summary>
        [FieldName("AdminID")]		
		public int AdminID
		{
			get;
			set;
		}
        
		/// <summary>
		/// AdminUsername
        /// </summary>
        [FieldName("AdminUsername")]		
		public string AdminUsername
		{
			get;
			set;
		}
        
		/// <summary>
		/// AdminPassword
        /// </summary>
        [FieldName("AdminPassword")]		
		public string AdminPassword
		{
			get;
			set;
		}
        
		/// <summary>
		/// AdminPhone
        /// </summary>
        [FieldName("AdminPhone")]		
		public string AdminPhone
		{
			get;
			set;
		}
        
		/// <summary>
		/// AdminRegistrationDate
        /// </summary>
        [FieldName("AdminRegistrationDate")]		
		public DateTime AdminRegistrationDate
		{
			get;
			set;
		}
        
        public AdminsData Clone()
        {
            return (AdminsData)this.MemberwiseClone();
        }
        
        public AdminsData()
        {
            AdminUsername = string.Empty;
            AdminPassword = string.Empty;
            AdminPhone = string.Empty;
            AdminRegistrationDate = ConvertHelper.DefaultDate;
        }
	}
}
